<script>

    // 定义对象
    let user = {"name":'lus',"age":20}
    
    // 传统取值
    console.log(user.name +"=="+ user.age); //  lus==20

    // es6写法取值
    let {name,age} = user
    console.log(name + "**" + age) // lus**20

    
</script>